/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.qx.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 单表生成Entity
 * @author zequs
 * @version 2017-08-22
 */
public class QxLeagueMatches extends DataEntity<QxLeagueMatches> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 名称
	private String abbreviation;		// 简称
	
	//非数据库字段
	private Integer strongTeam;//设置强队 如7，表示积分排名前7位是强队
	private Integer weakTeam;//设置弱队 如7，表示积分排名最后7位是弱队
	private Integer limitStart; 
	private Integer limitEnd; 
	private Integer count; //球队数量
	
	public QxLeagueMatches() {
		super();
	}

	public QxLeagueMatches(String id){
		super(id);
	}

	@Length(min=0, max=255, message="名称长度必须介于 0 和 255 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=64, message="简称长度必须介于 0 和 64 之间")
	public String getAbbreviation() {
		return abbreviation;
	}

	public void setAbbreviation(String abbreviation) {
		this.abbreviation = abbreviation;
	}

    public Integer getStrongTeam() {
        return strongTeam;
    }

    public void setStrongTeam(Integer strongTeam) {
        this.strongTeam = strongTeam;
    }

    public Integer getWeakTeam() {
        return weakTeam;
    }

    public void setWeakTeam(Integer weakTeam) {
        this.weakTeam = weakTeam;
    }

    public Integer getLimitStart() {
        return limitStart;
    }

    public void setLimitStart(Integer limitStart) {
        this.limitStart = limitStart;
    }

    public Integer getLimitEnd() {
        return limitEnd;
    }

    public void setLimitEnd(Integer limitEnd) {
        this.limitEnd = limitEnd;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
	
}